package com.baizhi.service.impl;

import com.baizhi.annotation.AddCacheAnnotation;
import com.baizhi.dao.CmfzMenuDao;
import com.baizhi.entity.CmfzMenu;
import com.baizhi.service.CmfzMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CmfzMenuServiceImpl implements CmfzMenuService {
   @Autowired
   private CmfzMenuDao cmfzMenuDao;

    @Override
    @AddCacheAnnotation
    public List<CmfzMenu> selectAll() {
        return cmfzMenuDao.selectAll();
    }
}
